BMI\Plugin\Backup_Migration_Plugin D

Total Complexity 378
Dependencies 12
Dependents 15
Total lines 1,487
Lines of code 1,088
Logical lines of code 884
Comment lines 78
Methods 43
Properties 0

Methods 43

Method Rating Maintainability Complexity Lines of code
handle_downloading()
D
8
112 279
initialize()
D
30 39 88
handle_cron_backup()
C
33 27 81
ajax()
B
40 23 51
execution_shutdown()
B
39 20 56
hotfix_patches()
B
40 19 54
sanitize()
A
52 10 23
handle_cron_check()
A
52 8 23
getAvailableMemoryInBytes()
A
55 8 18
fixLitespeed()
S
49 7 30
handleErrorDuringBackup()
S
52 7 22
handle_cron_error()
S
52 7 21
phpSizeToB()
S
57 7 16
handle_after_cron()
S
50 6 26
revertLitespeed()
S
52 6 23
send_notification_mail()
S
51 5 27
backup_inproper_time()
S
55 5 16
handleErrorDuringRestore()
S
57 5 15
include_offline()
S
62 5 11
handle_after_actions()
S
58 4 15
enqueue_scripts()
S
53 3 23
readFileSensitive()
S
54 3 19
humanSize()
S
65 4 7
fixSlashes()
S
62 4 10
admin_notices()
S
61 3 12
escapeSensitive()
S
56 2 17
res()
S
66 3 8
handle_crons()
S
65 3 8
isFunctionEnabled()
S
68 3 6
get_next_cron()
S
60 2 13
randomString()
S
63 2 11
enqueue_styles()
S
71 2 5
merge_arrays()
S
72 2 5
admin_init_hook()
S
67 2 8
settings_page()
S
69 2 6
canShareLogsOrShouldAsk()
S
81 1 3
getMaxUploadSize()
S
71 1 5
submenu()
S
67 1 7
deactivation()
S
76 1 4
settings_action()
S
71 1 5
email_error()
S
76 1 4
set_last_cron()
S
74 1 4
get_asset()
S
79 1 3